@import 'tailwindcss';

body {
    height: 100%;
}

* {
    box-sizing: border-box;
}

#app {
    overflow: hidden;
}

::view-transition-new(root),
::view-transition-old(root) {
    animation: none;
}

/* 全局滚动条样式（跨浏览器） */
/* Firefox */
html,
body,
* {
    scrollbar-width: var(--theme-scrollbar-width);
    scrollbar-color: var(--theme-scrollbar-thumb) var(--theme-scrollbar-bg);
}

/* WebKit */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: var(--theme-scrollbar-bg);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--theme-scrollbar-thumb);
    border-radius: 8px;
    border: 2px solid var(--theme-scrollbar-bg);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
    background: var(--theme-scrollbar-corner);
}

/* 覆盖 Ant Design 表格边框样式 */
.ant-table-wrapper .ant-table:not(.ant-table-bordered) .ant-table-tbody>tr>td {
    border-bottom: none !important;
    border-top: none !important;
}

.ant-table-wrapper .ant-table:not(.ant-table-bordered) .ant-table-tbody>tr:last-child>td {
    border-bottom: none !important;
}

/* 使用具体的选择器覆盖 */
:where(.css-dev-only-do-not-override-1p3hq3p).ant-table-wrapper .ant-table:not(.ant-table-bordered) .ant-table-tbody>tr>td {
    border-bottom: none !important;
    border-top: none !important;
}

:where(.css-dev-only-do-not-override-1p3hq3p).ant-table-wrapper .ant-table:not(.ant-table-bordered) .ant-table-tbody>tr:last-child>td {
    border-bottom: none !important;
}

:where(.ant-btn)>span {
    display: inline-flex !important;
}